package com.ruoyi.web.controller.contest;

import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.contest.domain.DataAnalyse;
import com.ruoyi.system.service.ISysDeptService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

import static com.ruoyi.common.utils.PageUtils.startPage;


/**
 * 数据分析
 */
@RestController
@RequiredArgsConstructor
@RequestMapping("/contest/dataAnalyze")
public class DataAnalyseController {
    @Autowired
    private ISysDeptService deptService;

    /**
     * 查询学院获奖信息
     */
    @PreAuthorize("@ss.hasPermi('contest:analyze:list')")
    @GetMapping("/list")
    public TableDataInfo listWithDataAnalyze(DataAnalyse dataAnalyse){
        startPage();
        List<DataAnalyse> list;
        return null;
    }
}
